/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.refund.entity.log;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 退款日志Entity
 * @author Egan
 * @version 2017-01-23
 */
public class EcRefundLog extends DataEntity<EcRefundLog> {
	
	private static final long serialVersionUID = 1L;
	private String refundId;		// 退款单号 银行
	private String refundFee;		// 退款金额
	private String couponRefundFee;		// 零钱
	private String outTradeNo;		// 订单号
	private String outRefundNo;		// 退款单号
	private String transactionId;		// 交易单号
	private String couponRefundCount;		// 交易数量
	private String mchId;		// 商家
	
	public EcRefundLog() {
		super();
	}

	public EcRefundLog(String id){
		super(id);
	}

	@Length(min=0, max=256, message="退款单号 银行长度必须介于 0 和 256 之间")
	public String getRefundId() {
		return refundId;
	}

	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}
	
	public String getRefundFee() {
		return refundFee;
	}

	public void setRefundFee(String refundFee) {
		this.refundFee = refundFee;
	}
	
	public String getCouponRefundFee() {
		return couponRefundFee;
	}

	public void setCouponRefundFee(String couponRefundFee) {
		this.couponRefundFee = couponRefundFee;
	}
	
	@Length(min=0, max=64, message="订单号长度必须介于 0 和 64 之间")
	public String getOutTradeNo() {
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
	
	@Length(min=0, max=64, message="退款单号长度必须介于 0 和 64 之间")
	public String getOutRefundNo() {
		return outRefundNo;
	}

	public void setOutRefundNo(String outRefundNo) {
		this.outRefundNo = outRefundNo;
	}
	
	@Length(min=0, max=128, message="交易单号长度必须介于 0 和 128 之间")
	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
	
	@Length(min=0, max=64, message="交易数量长度必须介于 0 和 64 之间")
	public String getCouponRefundCount() {
		return couponRefundCount;
	}

	public void setCouponRefundCount(String couponRefundCount) {
		this.couponRefundCount = couponRefundCount;
	}
	
	@Length(min=0, max=64, message="商家长度必须介于 0 和 64 之间")
	public String getMchId() {
		return mchId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	
}